package com.ruoyi.crm.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.crm.domain.CrmAcceptanceSheet;
import com.ruoyi.crm.domain.CrmApplyClearDetails;

/**
 * 申请结算费用详情中间Mapper接口
 *
 * @author yanwenliang
 * @date 2024-12-16
 */
public interface CrmApplyClearDetailsMapper extends BaseMapper<CrmApplyClearDetails>
{
    /**
     * 查询申请结算费用详情中间
     *
     * @param applyClearDetailsId 申请结算费用详情中间主键
     * @return 申请结算费用详情中间
     */
    public CrmApplyClearDetails selectCrmApplyClearDetailsByApplyClearDetailsId(String applyClearDetailsId);

    /**
     * 查询申请结算费用详情中间列表
     *
     * @param crmApplyClearDetails 申请结算费用详情中间
     * @return 申请结算费用详情中间集合
     */
    public List<CrmApplyClearDetails> selectCrmApplyClearDetailsList(CrmApplyClearDetails crmApplyClearDetails);

    /**
     * 新增申请结算费用详情中间
     *
     * @param crmApplyClearDetails 申请结算费用详情中间
     * @return 结果
     */
    public int insertCrmApplyClearDetails(CrmApplyClearDetails crmApplyClearDetails);

    /**
     * 修改申请结算费用详情中间
     *
     * @param crmApplyClearDetails 申请结算费用详情中间
     * @return 结果
     */
    public int updateCrmApplyClearDetails(CrmApplyClearDetails crmApplyClearDetails);

    /**
     * 删除申请结算费用详情中间
     *
     * @param applyClearDetailsId 申请结算费用详情中间主键
     * @return 结果
     */
    public int deleteCrmApplyClearDetailsByApplyClearDetailsId(String applyClearDetailsId);

    /**
     * 批量删除申请结算费用详情中间
     *
     * @param applyClearDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmApplyClearDetailsByApplyClearDetailsIds(String[] applyClearDetailsIds);
}
